// src/api/home.ts
import http from "./request";
import { HomeData } from "../types/api";

export const getHomeData = (): Promise<HomeData> => {
  return http.request({
    url: "/home/getHomeData",
    method: "get",
  });
};
